export default {
  state: {
    // 购物车下单列表数据
    goodsCartList: [],
    isFrom: false,
  },
  mutations: {
    // 处理下单列表数据
    setCartOrder (state, val) {
      state.goodsCartList = val
    },
    // 处理公用组件路径问题 => address
    setPath (state, val) {
      state.isFrom = val
    }
  }
}